package com.ml.mq;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

public interface MatchSink {
	
	//发送队列 新订单
    String OUT_NEW_ORDER = "out-new-order";
 
    //发送队列 取消订单
    String OUT_CANCEL_ORDER = "out-cancel-order";
    

 
    @Output(MatchSink.OUT_NEW_ORDER)
    MessageChannel outNewOrder();
 
    @Output(MatchSink.OUT_CANCEL_ORDER)
    MessageChannel outCancelOrder();
    

}
